home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
AmigActive 10
/
AACD 10.iso
/
AACD
/
Information
/
WebSites
/
Wirenet
/
files
/
Dashboard2.lha
/
Dashboard2
/
AmiTCP
/
bin
/
CheckOnline
< prev
next >
Wrap
Text File
|
1998-02-26
|
315b
|
22 lines
/*
$VER: CheckOnline 1.0 (13.4.97)
by Neil Bothwick
Checks if AmiTCP or Miami is online
*/
options results
if show(ports,'AMITCP') > 0 then do
address command 'ifcheck ppp0 >NIL:'
exit RC
end
if show(ports,'MIAMI.1') > 0 then do
address 'MIAMI.1' 'ISONLINE'
exit (~RC * 5)
end
exit 10